package org.example.curriculum_design_6_16.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.curriculum_design_6_16.entity.pojo.Course;
import org.example.curriculum_design_6_16.service.CourseService;
import org.example.curriculum_design_6_16.mapper.CourseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 郑凯
* @description 针对表【course】的数据库操作Service实现
* @createDate 2025-06-16 09:25:48
*/
@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course>
    implements CourseService{

    @Autowired
    private CourseMapper courseMapper;

    public Course getCourseById(String courseId) {
        return courseMapper.getCourseById(courseId);
    }
}




